//
//  ZMyOrderCarBottomView.h
//  DistributorAB
//
//  Created by LZY on 2019/10/11.
//  Copyright © 2019 主事丫环. All rights reserved.
//

// 预订车 底部view

// 交互事件类型枚举
typedef NS_ENUM(NSUInteger, ZMyOrderCarBottomViewClickType) {
    ZMyOrderCarBottomViewClickTypeNoneSelected = 0,   //取消全选
    ZMyOrderCarBottomViewClickTypeSelected,           //全选
    ZMyOrderCarBottomViewClickTypeBuy,                //我要预订
    ZMyOrderCarBottomViewClickTypeDelete              //删除
};

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ZMyOrderCarBottomViewDelegate <NSObject>
//全选点击事件
- (void)orderCarBottomViewClick:(ZMyOrderCarBottomViewClickType)clickType;
@end

@interface ZMyOrderCarBottomView : UIView
@property (nonatomic, strong) UIButton *btnSelect;//选中按钮
@property (nonatomic, strong) UIButton *btnBuy;//我要预订按钮
@property (nonatomic, weak) id <ZMyOrderCarBottomViewDelegate> delegate;
//更新我要预订按钮类型
- (void)updateBtnBuy:(ZMyOrderCarBottomViewClickType)btnType;
@property (nonatomic, assign) ZMyOrderCarBottomViewClickType btnType;
@end

NS_ASSUME_NONNULL_END
